<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE HTML>
<html>
  <head>
    <title>STS test iframe</title>
    <script>
      "use strict";
      let windowRef = window;
      window.addEventListener("load", function() {
        windowRef.parent.postMessage("BOOTSTRAP plain",
                                     "http://mochi.test:8888");
      }, false);
    </script>
  </head>
  <body>
    <!-- This frame should be loaded over HTTPS to set the STS header. -->
    This frame was loaded using 
    <script>
      document.write(document.location.protocol);
    </script>
    and set the STS header to force this site and allow subdomain upgrading.
  </body>
</html>
